package com.dc.seckill.redis;

/**
 * @模块 redis缓存模块
 * @作者 djs
 * @时间 2018/3/14 13:33
 * @版本 V1.0
 * @描述 商品缓存key
 */
public class GoodsKey extends BasePrefix {

    public static int GOODS_LIST_TIME = 60;
    public static int GOODS_DETAIL_TIME = 60;

    public GoodsKey(int expireSecond, String prefix) {
        super(expireSecond, prefix);
    }

    public static GoodsKey goods_list = new GoodsKey(GOODS_LIST_TIME,"goods_list:");
    public static GoodsKey goods_detail = new GoodsKey(GOODS_DETAIL_TIME,"goods_detail:");
}
